home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / filesy~1 / mfsdefrg.zoo / portst.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-15  |  620 b   |  29 lines

  1. /* This file changes the Linux defines to a form useable by ST */
  2.  
  3. #include <string.h>
  4. #include "hdio.h"
  5.  
  6. int bit(void *map,long num);
  7. void setbit(void *map,long num);
  8. void clrbit(void *map,long num);
  9. long set_size(long);
  10.  
  11. #define open new_open
  12. #define close new_close 
  13. #define read new_read
  14. #define write new_write
  15. #define lseek new_lseek
  16. #define sync new_sync
  17.  
  18. #ifdef PORTST
  19. int new_open(char *,int,unsigned);
  20. #else
  21. int new_open(char *,int,...);
  22. #endif
  23. int new_close(int);
  24. long new_read(int,void *,long);
  25. long new_write(int,void *,long);
  26. long new_lseek(int,long,int);
  27. void new_sync(void);
  28.  
  29.